import java.util.Arrays;

/**
 * Description:
 * Date: 2024/8/11
 * User: 21719
 */
public class Java0811 {
    public static void main(String[] args) {
//        int count=0;
//        for(int i=1;i<=100;i++) {
//            if(i%10 == 9 ) {
//                count++;
//            }
//            if(i/10 == 9) {
//                count++;
//            }
//        }
//        System.out.println(count);
         int[] array = {1,2,2,2,2,2,2,2,3};
        Arrays.sort(array);
        System.out.println(Arrays.toString(array));
        System.out.println(array[array.length/2]);
        int[][] a = new int[][]{{1,2},{5,6}};
        System.out.println(Arrays.deepToString(a));

    }
}
